﻿#pragma once

typedef struct GameBoard GameBoard;

typedef void (*GameBoardDelete)(GameBoard*);

// 游戏区域
struct GameBoard {
    HBITMAP mBitmap;    // 后台缓冲位图
    HDC mDrawer;        // 绘图者
    HWND mHandle;       // 窗口句柄
    SIZE mSize;         // 尺寸

    GameBoardDelete deleteSelf;
};

GameBoard* New_GameBoard(HWND, int, int, int, int);
